package com.zareal.mapper;

import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.zareal.domain.Storage;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author Wilson
 * @since 2022-09-28
 */
public interface StorageMapper extends BaseMapper<Storage> {

    void putStorage(Storage storage);

    Storage getStorage(Long id);

    List<Storage> outOfStock();
}
